package com.lingyistudio.user.dao;

import com.lingyistudio.user.entity.UserEntity;
import com.lingyistudio.user.entity.CustomerEntity;

/**
 * @ClassName: serDao
 * @Description:
 * @Author: cheng
 * @Date: 2019/5/25
 */

public interface UserDao {
    int updateUserAllDao( UserEntity userEntity );
    int updateUserPassWordDao( CustomerEntity customerEntity );
    int getExistEmailDao(UserEntity userEntity);
    int getExistMobilephoneDao (UserEntity userEntity);
    CustomerEntity getUserOneNeedUserEmallDao(UserEntity userEntity);
    CustomerEntity getUserOneNeedUserMobilephoneDao(UserEntity userEntity);
    int addUserDao(UserEntity userEntity);
    CustomerEntity getUserOneNeedcustomerIdDao(CustomerEntity customerEntity);
}
